public class Wrapper {
    public static void main(String[] args) {
        Test22 t1 = new Test22();
        t1.test2();
//        t1.test100();
        Integer i = 1;
        Integer j = 2;
        System.out.println(i+j);
        int aaaa2 = i;
        System.out.println(aaaa2);
        String str1 = String.valueOf(100);
        //转换
        String str2 = "100";
        System.out.println(str1);

        System.out.println(str2);


    }
}
class Test22{
    public void test(){
        int t1 = 110;
        Integer i1 = new Integer(t1);
        System.out.println(i1.toString());
    }
    public void test2(){
        Integer i2 = new Integer(10);
        int t1 = i2.intValue();
        System.out.println(t1);
    }

    public void test100(){
        int a =10;
        Integer a1 = a;
        System.out.println(a1);
    }
}